package com.tom.myjni.fmpeg;

/**
 * Added by Tom on 2024/05/30.
 * 视频压缩处理
 */
public class VideoCompress {
    static {
        System.loadLibrary("native-lib");
    }

    public native void compressVideo(String[] compressCommand, CompressCallback callback);

    public interface CompressCallback {
        void onCompress(int current, int total);
    }

}
